package com.big.tree.service.singleton;


/**
 * 饿汉模式
 * @author big tree
 */
public class HungrySingleton {

    private HungrySingleton(){}

    private static final HungrySingleton singleton = new HungrySingleton();

    public static HungrySingleton getInstance(){
        return singleton;
    }

}
